945c933032dfc4c7611d83f5fd38f05168266274,framework/widget/src/org/ofbiz/widget/screen/ScreenFopViewHandler.java,ScreenFopViewHandler,render,#String#String#String#String#String#HttpServletRequest#HttpServletResponse#,59

Before Change


            Fop fop = ApacheFopWorker.createFopInstance(out, contentType);
            ApacheFopWorker.transform(src, null, fop);
        } catch (Exception e) {
            throw createException("Unable to transform FO file", e, request, response);
        }
        // set the content type and length
        response.setContentType(contentType);

After Change


            Fop fop = ApacheFopWorker.createFopInstance(out, contentType);
            ApacheFopWorker.transform(src, null, fop);
        } catch (Exception e) {
            renderError("Unable to transform FO file", e, request, response);
            return;
        }
        // set the content type and length